// this is a special version of the Record class that always holds a 
// key, pointer pair; the first attribute is always a key, and the second
// attribute is always a pointer
//
class IndexRecord : public Record {

public:

	// returns a -1, 0, or 1 depending upon whether the key value of the 
	// record falls below, in, or above the range that is given as a
	// parameter
	int Compare (Attribute &lowVal, Attribute &highVal, Type &myType);

	// this takes and copies the key, pointer pair into the record.  
	// keyLen is the number of bytes in the key.
	void Load (char *key, int keyLen, int pointer);

	// this gets the pointer value associated with the record
	int GetPointer ();
}; 
